package com.liu.security.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import org.apache.ibatis.type.Alias;


/**
 * Created by shi860715@126.com
 * Date 2021/8/13 9:52
 * Description
 */
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
@TableName("t_permission")
@Alias("permission")
public class Permission {


    @TableId(type = IdType.AUTO )
    private Integer id;
    private String name;
    private String uri;
    private String permission;
    private Integer type;
    private Integer sort;
    private String description;
    private  Integer pid;


}
